import { getVideoMarkListByVedioIdStatement, getRightMarkList, deleteMarkItem, addMarkItem } from './dbHelper';

/**
 * 视频标注信息列表-导出
 * @returns
 */
export const getVideoMarkListByVedioId = async (id: String) => {
  return await getVideoMarkListByVedioIdStatement(id);
};

/**
 * 视频标注信息列表-导出
 * @returns
 */
export const getRightMarkListByVideoId = async (id: String) => {
  return await getRightMarkList(id);
};

/**
 * 删除视频标注
 */
export const deleteMarkInfo = async (data: any) => {
  return await deleteMarkItem(data);
};

/**
 * 新增视频标注
 */
export const addMarkItemInfo = async (data: any) => {
  return await addMarkItem(data);
};
